<?php
class SEO extends CWidget{

    public $title;
    public $description;
    public $keywords;

    public function init(){
        if($this->title==null){
            $this->title = Yii::app()->name;
        }
    }

    public function run(){
        $this->render('SEO');
    }
}